/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.aptech.struts2.action;

import com.aptech.domain.BaseModel;
import com.aptech.domain.JPA.BaseSearchCondition;
import com.aptech.domain.JPA.Category;
import com.aptech.domain.JPA.News;
import java.util.List;

/**
 *
 * @author Admin
 */
public class NewsCRUDActionModel extends BaseModel {
    private List<News> newsList;
    private List<Category> categoryList;

    public List<Category> getCategoryList() {
        return categoryList;
    }

    public void setCategoryList(List<Category> categoryList) {
        this.categoryList = categoryList;
    }
    private News news;
    private BaseSearchCondition baseSearchCondition;


    public BaseSearchCondition getBaseSearchCondition() {
        return baseSearchCondition;
    }

    public void setBaseSearchCondition(BaseSearchCondition baseSearchCondition) {
        this.baseSearchCondition = baseSearchCondition;
    }

    public News getNews() {
        return news;
    }

    public void setNews(News news) {
        this.news = news;
    }

    public List<News> getNewsList() {
        return newsList;
    }

    public void setNewsList(List<News> newsList) {
        this.newsList = newsList;
    }
    


}
